package com.sugon.webservice.service;

import com.sugon.webservice.entity.BatchDataAcessCmd;
import com.sugon.webservice.entity.ExternalTabRelationEntity;
import com.sugon.webservice.entity.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import springfox.documentation.annotations.ApiIgnore;

import java.util.concurrent.ExecutionException;

@FeignClient(name = "scheduler-api")
public interface XyData2Service {
//    @ApiOperation("根据注册的单位名称获取统计信息")
    @PostMapping("/access/data-access-batch")
    Result<String> dataAcessBatch(@RequestBody BatchDataAcessCmd batchDataAcessCmd);

//    @ApiOperation("根据注册的单位名称获取计数信息")
//    @PostMapping("/methodInfoServer/getApiCountInfoByRegisterUnit")
//    public Result<ApiCountInfoDTO> getApiCountInfoByRegisterUnit(@RequestBody ApiCountQuery apiCountQuery);
}
